div>input*2+button>{save}+button>{cancel}

<script>

    var type = calo.query.type
    var destUrl = "api/" + type
    var payload = {}


</script>